/**
 * 大文件拷贝 https://www.bilibili.com/video/BV1vs411n7TH?p=123
 */
#include <stdio.h>
#include "../Utils/FileIOUtils.h"

static char *FILE_READ_PATH = "F:\\Users\\actor\\Videos\\bilibili\\104589648-1-208.mp4";
static char *FILE_WRITE_PATH = "../Read_Write_Test/8.大文件拷贝.mp4";

int main(int argc, char *argv[]) {
    //直接调用拷贝
    int fail = file_copy(FILE_READ_PATH, FILE_WRITE_PATH, 1);
    if (fail) {
        printf("拷贝失败!\n");
    } else {
        printf("拷贝成功!\n");
    }
    return EXIT_SUCCESS;
}